package main.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.*;

import javax.persistence.*;
import javax.validation.constraints.*;
import org.hibernate.validator.constraints.*;
import org.hibernate.annotations.GenericGenerator;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * This code is generated
 */
@Entity
@javax.persistence.Table(name="main_dingdan")
public class Dingdan implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;


	@Id
	@GeneratedValue(generator = "uuid")
	@GenericGenerator(name = "uuid", strategy = "uuid2")
	@Column(name = "fid"  )
@org.hibernate.annotations.Type(type="org.hibernate.type.StringType")
private String fid ;

	@Column(name = "fdingdanh"  )
@org.hibernate.annotations.Type(type="org.hibernate.type.StringType")
private String fdingdanh ;

	@Column(name = "fshangpinid"  )
@org.hibernate.annotations.Type(type="org.hibernate.type.StringType")
private String fshangpinid ;

	@Column(name = "fxiadansj"  )
@javax.persistence.Temporal(TemporalType.TIMESTAMP)
private java.util.Date fxiadansj ;

	@Column(name = "fmaijialy"  )
@org.hibernate.annotations.Type(type="org.hibernate.type.StringType")
private String fmaijialy ;

	@Column(name = "fshouhuor"  )
@org.hibernate.annotations.Type(type="org.hibernate.type.StringType")
private String fshouhuor ;

	@Column(name = "fshouhuodz"  )
@org.hibernate.annotations.Type(type="org.hibernate.type.StringType")
private String fshouhuodz ;

	@Column(name = "flianjidh"  )
@org.hibernate.annotations.Type(type="org.hibernate.type.StringType")
private String flianjidh ;

	@Column(name = "fdingdanzt"  )
@org.hibernate.annotations.Type(type="org.hibernate.type.StringType")
private String fdingdanzt ;

	@Column(name = "fyonghu"  )
@org.hibernate.annotations.Type(type="org.hibernate.type.StringType")
private String fyonghu ;

	@Column(name = "fzhifusj"  )
@javax.persistence.Temporal(TemporalType.TIMESTAMP)
private java.util.Date fzhifusj ;

	@Column(name = "fmaijiaid"  )
@org.hibernate.annotations.Type(type="org.hibernate.type.StringType")
private String fmaijiaid ;

	@Column(name = "fmaijiapj"  )
@org.hibernate.annotations.Type(type="org.hibernate.type.StringType")
private String fmaijiapj ;

	@Column(name = "fmaijiapjj16b91b"  )
@org.hibernate.annotations.Type(type="org.hibernate.type.StringType")
private String fmaijiapjj16b91b ;
	public String getFid() {
			return fid;
		
	}

	public void setFid(String fid) {
		this.fid = fid;
	}

	public String getFdingdanh() {
			return fdingdanh;
		
	}

	public void setFdingdanh(String fdingdanh) {
		this.fdingdanh = fdingdanh;
	}

	public String getFshangpinid() {
			return fshangpinid;
		
	}

	public void setFshangpinid(String fshangpinid) {
		this.fshangpinid = fshangpinid;
	}

	public java.util.Date getFxiadansj() {
			if(fxiadansj!=null){
				java.util.Date ret = new java.util.Date(fxiadansj.getTime());
				return ret;
			}else{
				return null;
			}
		
	}

	public void setFxiadansj(java.util.Date fxiadansj) {
		this.fxiadansj = fxiadansj;
	}

	public String getFmaijialy() {
			return fmaijialy;
		
	}

	public void setFmaijialy(String fmaijialy) {
		this.fmaijialy = fmaijialy;
	}

	public String getFshouhuor() {
			return fshouhuor;
		
	}

	public void setFshouhuor(String fshouhuor) {
		this.fshouhuor = fshouhuor;
	}

	public String getFshouhuodz() {
			return fshouhuodz;
		
	}

	public void setFshouhuodz(String fshouhuodz) {
		this.fshouhuodz = fshouhuodz;
	}

	public String getFlianjidh() {
			return flianjidh;
		
	}

	public void setFlianjidh(String flianjidh) {
		this.flianjidh = flianjidh;
	}

	public String getFdingdanzt() {
			return fdingdanzt;
		
	}

	public void setFdingdanzt(String fdingdanzt) {
		this.fdingdanzt = fdingdanzt;
	}

	public String getFyonghu() {
			return fyonghu;
		
	}

	public void setFyonghu(String fyonghu) {
		this.fyonghu = fyonghu;
	}

	public java.util.Date getFzhifusj() {
			if(fzhifusj!=null){
				java.util.Date ret = new java.util.Date(fzhifusj.getTime());
				return ret;
			}else{
				return null;
			}
		
	}

	public void setFzhifusj(java.util.Date fzhifusj) {
		this.fzhifusj = fzhifusj;
	}

	public String getFmaijiaid() {
			return fmaijiaid;
		
	}

	public void setFmaijiaid(String fmaijiaid) {
		this.fmaijiaid = fmaijiaid;
	}

	public String getFmaijiapj() {
			return fmaijiapj;
		
	}

	public void setFmaijiapj(String fmaijiapj) {
		this.fmaijiapj = fmaijiapj;
	}

	public String getFmaijiapjj16b91b() {
			return fmaijiapjj16b91b;
		
	}

	public void setFmaijiapjj16b91b(String fmaijiapjj16b91b) {
		this.fmaijiapjj16b91b = fmaijiapjj16b91b;
	}
}
